xenctx: move xc_* access out of dump_ctx
authorOlaf Hering <olaf@aepfle.de>
Fri, 17 Jun 2011 12:11:52 +0000 (14:11 +0200)
committerOlaf Hering <olaf@aepfle.de>
Fri, 17 Jun 2011 12:11:52 +0000 (14:11 +0200)
commit84a750776894e1fe08bdd9c5d484c20cf51fad55
tree2500beb58084ea70876a945b78d3b17ed944931c
parent79a7f14f576a50d2517c62d4d9dc48cd0db7ffef
xenctx: move xc_* access out of dump_ctx

move xc_* access out of dump_ctx.
Update code paths to return an error instead of calling exit().
On error unpause the guest if it was paused by xenctx.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/xentrace/xenctx.c